import Layout from "@/layout";

export default{
    path: "/permission",
    component: Layout,
    redirect: "/permission/menu",
    name: "permission",
    meta: { title: "权限管理", icon: "tree" },
    children: [
      {
        path: "menu",
        name: "meun",
        component: () => import("@/views/permission/menu"),
        meta: { title: "菜单管理", icon: "table" },
      },
      {
        path: "role",
        name: "role",
        component: () => import("@/views/permission/role"),
        meta: { title: "角色管理", icon: "tree" },
      },
      {
        path: "user",
        name: "user",
        component: () => import("@/views/permission/user"),
        meta: { title: "用户管理", icon: "tree" },
      },
    ],
  }